#include <stdio.h>
/**
Input://end with EOF(Ctrl+Z)
1 2
3 4
Output
3
7
*/
int main(){
  int a, b;
  while (2 == scanf("%d%d", &a, &b)){
    printf("%d\n", a + b);
  }
  return 0;
}
